package com.xyht.medicine_management_system.modules.order.constant;

import java.util.Arrays;
import java.util.List;

public class OrderRefundConstant {
    // 退款状态: 0.待退款 1.已退款 2.退款失败
    public static final int ORDER_REFUND_STATUS_TO_BE_REFUNDED = 0; // 待退款
    public static final int ORDER_REFUND_STATUS_REFUNDED = 1; // 已退款
    public static final int ORDER_REFUND_STATUS_REFUNDED_FAIL = 2; // 退款失败
    public static final int ORDER_REFUND_STATUS_REFUNDING = 3; // 退款中

    // 审批状态: 0.待审批 1.通过 2.拒绝
    public static final int ORDER_REFUND_PROCESS_STATUS_NO_APPROVAL = 0; // 待审批
    public static final int ORDER_REFUND_PROCESS_STATUS_PASS = 1; // 通过
    public static final int ORDER_REFUND_PROCESS_STATUS_REFUSE = 2; // 拒绝
    // 退款审批状态集合
    public static final List<Integer> ORDER_REFUND_PROCESS_STATUS_LIST = Arrays.asList(ORDER_REFUND_PROCESS_STATUS_NO_APPROVAL, ORDER_REFUND_PROCESS_STATUS_PASS, ORDER_REFUND_PROCESS_STATUS_REFUSE);

    // 退款原因
    public static final String ORDER_REFUND_REASON_USER_SUBMIT = "用户申请退款";
    public static final String ORDER_REFUND_REASON_DELIVERY_TIMEOUT = "商家超时未发货";

}
